package com.example.common.entity;

import lombok.Data;

import javax.persistence.*;
import java.io.Serializable;

@Data
@Entity
@Table(name = "order_question")
public class Question implements Serializable {

	private static final long serialVersionUID = -687216865649636014L;
	@Id
	@Column(name = "id_bigint", columnDefinition = "bigint(20)")
	private Long id;
	@Column(name = "fid_bigint", columnDefinition = "bigint(20)")
	private Long fid;
	@Column(name = "qid_bigint", columnDefinition = "bigint(20)")
	private Long qid;
	@Column(name = "q_content_nvarchar", columnDefinition = "varchar(255)")
	private String qContent;
	@Column(name = "q_type_tinyint", columnDefinition = "tinyint(1) comment '1.单选,2.多选'")
	private Integer qType;
}
